package com.paypalpay.mapper;

import com.paypalpay.entity.common.UnifiedOrderPackages;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UnifiedOrderPackagesMapper {

    public void putInOrderInfo(UnifiedOrderPackages order);

    public void updateOrderInfo(UnifiedOrderPackages order);

    public String getIsOpenByOrderIdanddeviceId(@Param("deviceId") String deviceId, @Param("orderId") String orderId);

    public void updateIsOpenByorderId(UnifiedOrderPackages user);

    //无卡用户下单记录入库
    public void putInOrderNoDeviceInfo(UnifiedOrderPackages orders);

    //根据deviceId先去把支付订单orderId等数据的表更新一下
    public void updateOrderInfoByDeviceId(UnifiedOrderPackages unifiedOrder);
}
